Optimal. Leaf size=556 \[ \frac {3 x \left (a+b x^2\right )^{2/3}}{7 b}+\frac {9 a x}{7 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}-\frac {9 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{14 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {3 \sqrt {2} 3^{3/4} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{7 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 556, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {327, 241, 310,
225, 1893} \begin {gather*} \frac {3 \sqrt {2} 3^{3/4} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{7 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {9 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{14 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {9 a x}{7 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}+\frac {3 x \left (a+b x^2\right )^{2/3}}{7 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 241
Rule 310
Rule 327
Rule 1893
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt [3]{a+b x^2}} \, dx &=\frac {3 x \left (a+b x^2\right )^{2/3}}{7 b}-\frac {(3 a) \int \frac {1}{\sqrt [3]{a+b x^2}} \, dx}{7 b}\\ &=\frac {3 x \left (a+b x^2\right )^{2/3}}{7 b}-\frac {\left (9 a \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{14 b^2 x}\\ &=\frac {3 x \left (a+b x^2\right )^{2/3}}{7 b}+\frac {\left (9 a \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{14 b^2 x}-\frac {\left (9 \sqrt {\frac {1}{2} \left (2+\sqrt {3}\right )} a^{4/3} \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{7 b^2 x}\\ &=\frac {3 x \left (a+b x^2\right )^{2/3}}{7 b}+\frac {9 a x}{7 b \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}-\frac {9 \sqrt [4]{3} \sqrt {2+\sqrt {3}} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{14 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {3 \sqrt {2} 3^{3/4} a^{4/3} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{7 b^2 x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 5.09, size = 62, normalized size = 0.11 \begin {gather*} \frac {3 x \left (a+b x^2-a \sqrt [3]{1+\frac {b x^2}{a}} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {3}{2};-\frac {b x^2}{a}\right )\right )}{7 b \sqrt [3]{a+b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\left (b \,x^{2}+a \right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.38, size = 27, normalized size = 0.05 \begin {gather*} \frac {x^{3} {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {3}{2} \\ \frac {5}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )}}{3 \sqrt [3]{a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^2}{{\left (b\,x^2+a\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________